package vn.edu.saigontech.ncms.model.enumeration;

public enum Title {
	
	MR("title.mr"), MRS("title.mrs"), MS("title.ms");
	
	private String key;
	
	private Title(String key) {
		this.key = key;
	}
	
	public static Title create(String name) {
		try {
			return valueOf(name);
		}
		catch(Exception ex) {}
		return null;
	}
	
	public String getKey() {
		return key;
	}
}